package com.snowj.apaas.web.vm;

import java.util.Date;

public class DataVm<T> {
    public T data;

    public static <D> DataVm<D> of(D data) {
        DataVm<D> dataVm = new DataVm<>();
        dataVm.setData(data);
        return dataVm;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
